package centerberg.engine;

import java.awt.Rectangle;

/**
 * A camera looking at the gameworld. Used to determine if
 * an object can be seen and thus drawn by the render.
 * 
 * @author Andreas Svanberg
 */
public interface Camera
{
    /**
     * Returns the cameras viewport, a rectangle in the
     * 2D plane.
     * 
     * @return a rectangle in the 2D plane
     */
    public Rectangle getViewport();
}